<div id="status_ava">
	
	<div id="key">
		<a href="<?php echo $this->url(array('controller' => 'preferences', 'action' => 'status','request' => null),"default")?>">
			<?php if($this->is_user_profile):?>
				<img src="<?php echo $this->baseUrl()?>/img/keybtn.png" alt="key" border="0" />
			<?php endif;?>
			
		</a>
	</div>
	<?php /*6 букв - 24 px
15 букв - 18 px
33 буквы - 12 px 
*/
	$status_length =  strlen($this->user->status);
	$status_font_size = 12;
	if($status_length<33)$status_font_size=18;
	if($status_length<15)$status_font_size=24;
?>
	<div class="status_text" style="font-size:<?php echo $status_font_size?>px; margin-top:25px; margin-left:35px; margin-right:30px; margin-bottom:30px; height:70px; text-align:center;">
		<b>
			<?php echo $this->user->status; ?><br />
		</b>
	</div>
</div>